import { Component, OnInit } from '@angular/core';
import { RouteService } from '../route.service';

@Component({
  selector: 'app-testc',
  templateUrl: './testc.component.html',
  styleUrls: ['./testc.component.css']
})
export class TestcComponent implements OnInit {

  constructor(private routeService: RouteService) { }

  ngOnInit() {
    this.routeService.getUsers().subscribe(users => console.log(`testc get ${users.length} users`));
  }

}
